package com.xxl.job.executor.service.jobhandler;

import com.xxl.job.core.handler.IJobHandler;
import com.xxl.job.core.handler.annotation.*;
import org.springframework.stereotype.Component;

/**
 * @author:jack
 * @Date: 14:22 2021/6/1
 * @Description:
 */
@JobHandler(value = "myJobHandler")
@Component
public class MyXxlJob extends IJobHandler {
    @Override
    public void execute() throws Exception {
        System.out.println("我们不能失去信仰");
    }
}
